package beans;

import java.util.Date;

public class Employee {
    private int employeeID;
    private String employeeName;
    private String password;
    private int departmentID;
    private String position;
    private String email;
    private String phoneNumber;
    private Date hireDate;
    private String gender;

    // 无参构造函数
    public Employee() {
    }

    // 有参构造函数
    public Employee(int employeeID, String employeeName, String password, int departmentID, 
                   String position, String email, String phoneNumber, Date hireDate, String gender) {
        this.employeeID = employeeID;
        this.employeeName = employeeName;
        this.password = password;
        this.departmentID = departmentID;
        this.position = position;
        this.email = email;
        this.phoneNumber = phoneNumber;
        this.hireDate = hireDate;
        this.gender = gender;
    }

    // Getters and Setters
    public int getEmployeeID() {
        return employeeID;
    }

    public void setEmployeeID(int employeeID) {
        this.employeeID = employeeID;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getDepartmentID() {
        return departmentID;
    }

    public void setDepartmentID(int departmentID) {
        this.departmentID = departmentID;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}